/**
 * 统一格式化后台数据
 */
export function normalize(list) {
  return [
    {
      id: 0,
      key: null,
      name: '不限',
      isSelected: true
    },
    ...list.map((item) => ({
      ...item,
      isSelected: false
    }))
  ]
}
